package com.fary.importSelector;

import com.fary.config.AnnotationConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {

    public static void main(String[] args) {
//        ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml");
//        String[] postProcessorNames = ac.getBeanNamesForType(BeanPostProcessor.class, true, false);


        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(SpringConfig.class);
        applicationContext.getBean("student");
    }
}